home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / program / ddj0897.zip / DYN401.ZIP / examples / exam10 / readme < prev    next >
Text File  |  1995-09-27  |  1KB  |  27 lines

  1.  
  2.  
  3. This example demonstrates the minimum steps necessary in order to
  4. create a new class.
  5.  
  6. Notice the addition of class1.d. This file defines and implements a new
  7. class.  Each new class is usually defined and implemented in a single
  8. independent file with a .d extension.  So if you create five new
  9. classes, there will be five .d files which implement the new classes. 
  10. Note that any number of files may use or sub-class from any
  11. given class.
  12.  
  13. The Dynace Pre-Processor (dpp) is used to read in class files (which end
  14. in .d), generate generics files (generics.c & .h), and create .c souce
  15. files corresponding to the .d class files. The .c files which are
  16. generated from the .d files are compiled by your normal C compiler to
  17. generate linkable object files.  This program also ensures the argument
  18. consistancy between methods and generics.  If a discrepancy is detected,
  19. a message is displayed and the build process terminates.
  20.  
  21. The elaborate makefile is used to insure the correct and minimum number
  22. of files get processed whenever a file is changed.  It should, however,
  23. be easy to modify by changing the variables at the beginning of the
  24. makefile.
  25.  
  26. (To build see the readme file in the first example.)
  27.